<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>寓小二</title>
  <style>
    .list {
      width: 100vw;
    }
    .list li {
      width: 100%;
      /* background-color: red; */
      margin-top: 40px;
      position: relative;
    }
    .list li:nth-child(1) {
      border-top:0.5px solid red;
    }
    .list li:nth-child(2)::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 1px;
      width: 100%;
      background-color: red;
      transform: scaleY(0.5);
    }
  </style>
</head>
<body>
  <a download="aa.md" href="http://localhost:8080/test.md">点击下载</a>
  <button class="githubLoginBtn">点击按钮进行github授权登录</button>
  <button>点击按钮进行qq授权登录</button>
  <ul class="list">
    <li>1</li>
    <li>2</li>
  </ul>
  <script>
    const githubLoginBtn = document.querySelector('.githubLoginBtn')
    const githubUrl = `https://github.com/login/oauth/authorize?client_id=f5c57b96186522232505&_=1`
    githubLoginBtn.addEventListener('click', () => {
      window.open(githubUrl, '_blank', 'width=500,height=500')
    })
  </script>
</body>
</html>